home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0319.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  1.4 KB  |  36 lines

  1. On 24-Maj-78, Morten Bolstad smashed the keyboard with:
  2. > Oki here is a question for you smart coders out there.
  3.  
  4. That sounds like me ;-)
  5.  
  6.  
  7. > Isent there a command in Amos that sets up a zone around a txt String??
  8. > How does it works??
  9.  
  10. Providing that you use 'print' to put it on screen, you can use 'Zone$'.
  11. Doing like this should set up a zone no. 1 around the text:
  12. Print Zone$("Thiz is Zone 1",1)
  13.  
  14. That's it, you might wanna include 'Border$' to as it will create a 'box'
  15. around the text:
  16. Print Zone$(Border$("Zone 1 with border",2),2)..
  17.  
  18. Oh yes the '2' in Border$ is the style of the border..
  19.  
  20. Hope it helps..
  21. -- 
  22. Kind regards from
  23. ______________________________________________________________________________
  24.  /_  __/ __  / __  /\  ___\  __ \__  _\               aka. JENS VANG PETERSEN
  25.   / / / /_/ / ____/  \ \___\  __ \ \ \                  top_cat@post8.tele.dk
  26.  /_/ /_____/_/        \_____\_\ \_\ \_\
  27. ------------------------------------------------------------------------------
  28.                     http://home8.inet.tele.dk/top_cat/
  29.   -+-    Home of 'The Ultimate Extension list' for AMOS TC & AMOS PRO    -+-
  30.             -+-  SUPPORT - AMOS - AMIGA - AQUA - STARTREK TNG  -+-
  31. ------------------------------------------------------------------------------
  32.  The attention span of a computer is only as long as its power cord.
  33. ------------------------------------------------------------------------------
  34.  
  35.  
  36.